package com.hzw.saas.service.workspace.pojo.model;


import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户工作实例记录表
 * </p>
 *
 * @author sonam
 * @since 2021-02-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_work_records")
public class WorkRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "pid", type = IdType.INPUT)
    private String pid;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private String creatorId;

    private String editorId;

    private Integer isDelete;

    private String instanceId;

    private LocalDateTime startTime;

    private LocalDateTime endTime;

    private BigDecimal  costTimeBySeconds;

    private String instTaskFamily;

    @ApiModelProperty(value = "版本号", notes = "暂时用来区分实例列表中相同的实例")
    private Integer instTaskRevision;
}
